package com.ddl.service;


import com.ddl.pay.MchOrderInfoResult;
import com.ddl.pay.WeChatPayDto;
import com.ddl.pojo.PayFlowWithBLOBs;

import java.math.BigDecimal;

/**
 * @author dudianbo
 * @ClassName: ${CLASSNAME}
 * @Description: ${DESCRIPTION}
 * @date 2018/9/6
 */
public interface IUserPayService {
    /**
     * 微信支付
     * @param orderId
     */
    public WeChatPayDto WeChatPay(String orderId, String ip, BigDecimal amount,String userId);

    public void paySuccess(PayFlowWithBLOBs shoppingPayFlow);

    public MchOrderInfoResult weixinQuery(String orderId);
}
